<template>
  <div class="login"></div>
</template>

<script lang="ts">
import store from '@/store'
import { defineComponent, onMounted } from 'vue'

export default defineComponent({
  components: {},
  setup() {
    // 2.开始登录验证
    onMounted(() => {
      store.dispatch('login/accountLoginAction')
    })

    return {}
  },
})
</script>

<style scoped lang="less">
.login {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: url('../../assets/img/login-bg.svg');
}
</style>
